package cn.edu.scau.cmi.wuyihan.hibernate.domain;

import java.io.Serializable;

public class Student implements Serializable{
	private Long id;
	private String name;
	private Long number;
	private Teacher tutor;
	
	public Student() {}
	public Student(Long id, String name, Long number, Teacher tutor) {
		this.id = id;
		this.name = name;
		this.number = number;
		this.tutor = tutor;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getNumber() {
		return number;
	}
	public void setNumber(Long number) {
		this.number = number;
	}
	public Teacher getTutor() {
		return tutor;
	}
	public void setTutor(Teacher tutor) {
		this.tutor = tutor;
	}
	
	
	
	
}
